body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 400px;
  max-width: 90vw;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-title {
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.login-subtitle {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.main-app {
  min-height: 100vh;
  background: #f5f5f5;
}

.server-config-container {
  width: 100%;
  box-sizing: border-box;
}

.server-config-wrapper {
  width: 100%;
  display: flex;
  gap: 8px;
}

.server-host-input {
  flex: 6;
}

.server-host-input .ant-input {
  border-radius: 6px;
}

.server-port-input {
  flex: 4;
}

.server-port-input .ant-input {
  border-radius: 6px;
}

/* 登录表单间距调整 */
.login-box .ant-form-item {
  margin-bottom: 12px !important;
}

.login-box .ant-divider {
  margin: 8px 0 !important;
}

/* 密码输入框和登录按钮之间的间距 */
.login-box .password-form-item {
  margin-bottom: 24px !important;
}